package com.by.bean;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author: Fsw
 * @com.by.bean
 * @date 2025-02-24 20:22
 */
@Data
@ApiModel("产品分类")
public class ProductCategory {

    String code;

    String name;

    @NotBlank(message = "pid不能为空")
    int pid;

    int type;
}
